<?php
    require 'include/common/function.php';
    
    LoadControl();
    
    header('Content-type/html;charset=utf-8');
    define('LIB_AIR',ROOT_PATH.'/wisdom/include');
    define('TPL_C_DIR',ROOT_PATH.'/templates_c/');
    define('CACHE_DIR',ROOT_PATH.'/cache/');
    define('APP_DIR',ROOT_PATH.'/app/'.$app_g);
    define('APP_PUBLIC','app/'.$app_g.'/public/');
    define('APP_LANG',APP_DIR.'/language/');
    define('TPL_DIR',APP_DIR.'/view/'.$mod_m.'/');
    define('IS_CACHE',false);
    define('DB_PRE','');
    
    require LIB_AIR.'/Action.class.php';
    require APP_DIR.'/conf/data.config.php';
    spl_autoload_register('autoload');
   
    $classMethod   =   1;
    
    $test_mod   =   new $mod_m();
    
    if(false    ==method_exists($test_mod,$method)){
            echo "methos is not fond!";
    }
    
    $test_mod ->$method();
?>